<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */

namespace App\Dao;

use App\Model\MaterialClassification;

class MaterialClassificationDao extends AbstractDao
{
    /**
     * @var MaterialClassification
     */
    public $model;

    /**
     * 搜索值
     * @var array|string[]
     */
    public array $searchFields = [
        'id',
        'name',
    ];

    public function assignModel(): void
    {
        $this->model = MaterialClassification::class;
    }
}
